package com.chen.spike.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ApiController {


    @GetMapping("/hello/{string}")
    public String hello(@PathVariable String string) {
        return "hello " + string;
    }



}
